﻿using System.Web.Mvc;

namespace LightWeb.MvcWeb.Areas.SmartPfa
{
    public class SmartPfaAreaRegistration : AreaRegistration
    {
        public override string AreaName
        {
            get
            {
                return "SmartPfa";
            }
        }

        public override void RegisterArea(AreaRegistrationContext context)
        {
            context.MapRoute(
                 "SmartPfa_default",
                 "SmartPfa/{controller}/{action}/{id}",
                 new { controller = "Stock", action = "Index", id = UrlParameter.Optional },
                 new string[] { "LightWeb.MvcWeb.Areas.SmartPfa.Controllers" }
             );
        }
    }
}
